var BaseController = new require("./basecontroller");

function Controller(){
	BaseController.call(this);
}

Controller.prototype = Object.create (BaseController.prototype);
Controller.prototype.constructor = Controller;
Controller.prototype.FORM_ENTRIES = Array("firstname", "lastname" , "middlename", "username");
Controller.prototype.SEARCH_ENTRIES = Array("firstname", "lastname");
Controller.prototype.TABLE = "item"; //table for this controller
Controller.prototype.CONTROLLER = "item"; //controllername
Controller.prototype.PAGE = Controller.prototype.CONTROLLER;
Controller.prototype.FORM_VIEW = "item/item-form";
Controller.prototype.LIST_VIEW = "item/item-list";

module.exports = new Controller();
/*
ADDITIONAL CODES
override methods
*/
/*<Controller>.prototype.preInsert = function(req, res, data){
	return data;
}*/

